package com.ruoyi.inventory.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * inventory对象 inventory_detail
 * 
 * @author ruoyi
 * @date 2019-10-29
 */
public class InventoryByIdDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** null */
    private Long id;

    /** 资产Id */
    @Excel(name = "资产序号")
    private Long assetId;

    /** 卡片编号 */
    @Excel(name = "卡片编号")
    private String assetNo;

    /** 资产编码 */
    @Excel(name = "资产编码")
    private String assetCode;

    /** 规格 */
    @Excel(name = "规格")
    private String specifications;

    /** 型号 */
    @Excel(name = "型号")
    private String assetModel;

    /** 所属组织名称 */
//    @Excel(name = "型号")
    private String companyName;

    /** 所属组织Id */
    private String companyId;

    /** 状态 */
//    @Excel(name = "状态",readConverterExp = "0=不相符,1=相符")
    private String status;

    /** 删除标记 */
    private String delFlag;

    /** 搜索值 */
    private String searchParam;

    /** 资产名称 */
    @Excel(name = "资产名称")
    private String assetName;

    /** 资产次序*/
//    @Excel(name = "资产次序")
    private String inventoryNo;

    private String inventoryId;

    /** 资产类别 */
    @Excel(name = "资产类别")
    private String assetType;

    /** 消耗类型：1：固定资产，2：消耗品，3：其他 */
    private String consumeType;

    /** 图片数量 */
    private int imgCount;

    /** 管理部门 */
    private String manageDept;

    /** 管理部门名称 */
    @Excel(name = "管理部门",type = Excel.Type.EXPORT)
    private String manageDeptName;

    /** 使用部门 */
    private String deptId;

    /** 使用部门名称 */
    @Excel(name = "使用部门",type = Excel.Type.EXPORT)
    private String useDeptName;

    /** 使用地点 */
    @Excel(name = "存放地点")
    private String address;

    /** 数量 */
    @Excel(name = "数量")
    private Long amount;
    //相符数量
    @Excel(name = "相符数量")
    private int yesCount;
    //不相符数量
    @Excel(name = "不相符数量")
    private int noCount;

    /** 资产情况 */
    @Excel(name = "资产情况",type = Excel.Type.EXPORT,readConverterExp = "1=在用,2=封存,3=闲置,4=报废")
    private String useStatus;

    /** 盘点人 */
    @Excel(name = "创建人")
    private String createByName;
    /** 二维码 */
//    @Excel(name = "二维码")
    private String qrImg;

    /** 资产状态 */
//    @Excel(name = "资产状态")
    private String assetStatus;

    /** 开始时间 */
    private String beginDate;

    /** 结束时间 */
    private String endDate;

    private String flag;

    private String inventoryStatus;

    private String No;

    //未盘到数量
    @Excel(name = "未盘到数量")
    private int noInventoryCount;

    //未盘到数量
    @Excel(name = "遗失报废数量")
    private int lostScrapCount;

    public int getLostScrapCount() {
        return lostScrapCount;
    }

    public void setLostScrapCount(int lostScrapCount) {
        this.lostScrapCount = lostScrapCount;
    }

    public String getNo() {
        return No;
    }

    public void setNo(String no) {
        No = no;
    }

    /** 盘点是否相符 1：相符，0：不相符*/
    private String agreementStatus;

    public int getImgCount() {
        return imgCount;
    }

    public void setImgCount(int imgCount) {
        this.imgCount = imgCount;
    }

    public int getNoInventoryCount() {
        return noInventoryCount;
    }

    public void setNoInventoryCount(int noInventoryCount) {
        this.noInventoryCount = noInventoryCount;
    }

    public Long getAmount() {
        return amount;
    }

    public void setAmount(Long amount) {
        this.amount = amount;
    }

    public int getYesCount() {
        return yesCount;
    }

    public void setYesCount(int yesCount) {
        this.yesCount = yesCount;
    }

    public int getNoCount() {
        return noCount;
    }

    public void setNoCount(int noCount) {
        this.noCount = noCount;
    }

    public String getInventoryId() {
        return inventoryId;
    }

    public void setInventoryId(String inventoryId) {
        this.inventoryId = inventoryId;
    }

    public String getAssetNo() {
        return assetNo;
    }

    public void setAssetNo(String assetNo) {
        this.assetNo = assetNo;
    }

    public String getInventoryNo() {
        return inventoryNo;
    }

    public void setInventoryNo(String inventoryNo) {
        this.inventoryNo = inventoryNo;
    }

    public Long getId() {
        return id;
    }

    public String getSearchParam() {
        return searchParam;
    }

    public void setSearchParam(String searchParam) {
        this.searchParam = searchParam;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getAssetId() {
        return assetId;
    }

    public void setAssetId(Long assetId) {
        this.assetId = assetId;
    }

    public String getSpecifications() {
        return specifications;
    }

    public void setSpecifications(String specifications) {
        this.specifications = specifications;
    }

    public String getAssetModel() {
        return assetModel;
    }

    public void setAssetModel(String assetModel) {
        this.assetModel = assetModel;
    }

    public String getCreateByName() {
        return createByName;
    }

    public void setCreateByName(String createByName) {
        this.createByName = createByName;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getAssetName() {
        return assetName;
    }

    public void setAssetName(String assetName) {
        this.assetName = assetName;
    }

    public String getAssetCode() {
        return assetCode;
    }

    public void setAssetCode(String assetCode) {
        this.assetCode = assetCode;
    }

    public String getAssetType() {
        return assetType;
    }

    public void setAssetType(String assetType) {
        this.assetType = assetType;
    }

    public String getConsumeType() {
        return consumeType;
    }

    public void setConsumeType(String consumeType) {
        this.consumeType = consumeType;
    }

    public String getManageDept() {
        return manageDept;
    }

    public void setManageDept(String manageDept) {
        this.manageDept = manageDept;
    }

    public String getManageDeptName() {
        return manageDeptName;
    }

    public void setManageDeptName(String manageDeptName) {
        this.manageDeptName = manageDeptName;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getUseDeptName() {
        return useDeptName;
    }

    public void setUseDeptName(String useDeptName) {
        this.useDeptName = useDeptName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getUseStatus() {
        return useStatus;
    }

    public void setUseStatus(String useStatus) {
        this.useStatus = useStatus;
    }

    public String getQrImg() {
        return qrImg;
    }

    public void setQrImg(String qrImg) {
        this.qrImg = qrImg;
    }

    public String getAssetStatus() {
        return assetStatus;
    }

    public void setAssetStatus(String assetStatus) {
        this.assetStatus = assetStatus;
    }

    public String getBeginDate() {
        return beginDate;
    }

    public void setBeginDate(String beginDate) {
        this.beginDate = beginDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getInventoryStatus() {
        return inventoryStatus;
    }

    public void setInventoryStatus(String inventoryStatus) {
        this.inventoryStatus = inventoryStatus;
    }

    public String getAgreementStatus() {
        return agreementStatus;
    }

    public void setAgreementStatus(String agreementStatus) {
        this.agreementStatus = agreementStatus;
    }
}
